package com.zjgsu.nftplatform.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author ahy231
 * @date 2022/4/1 20:17
 * @description
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("登录信息")
public class LoginInfo {
    @ApiModelProperty("token")
    private String token;
    @ApiModelProperty("用户id")
    private String userId;
    @ApiModelProperty("角色")
    private Set<String> roles;
}
